/*
 *  input.h
 *  wonderland-project
 *
 *  Created by Ben Nolan on 13/10/08.
 *  Copyright 2008 Nolan Consulting Limited. All rights reserved.
 *
 */

#include <v8.h>

namespace Wonderland{
  class ScriptingContext;
}

class InputListener;

namespace JSInput{
  /*
   * Can be called at any stage 
   */
  void Initialize(Wonderland::ScriptingContext*);
  
  /*
   * Will throw an error if called before the window has
   * been initialized
   * 
   */
  v8::Handle<v8::Value> New(InputListener* listener);
}